MailPoet\WooCommerce\Subscription S

Total Complexity 31
Dependencies 15
Dependents 5
Total lines 265
Lines of code 166
Logical lines of code 77
Comment lines 25
Methods 11
Properties 7

Methods 11

Method Rating Maintainability Complexity Lines of code
handleSubscriberOptin()
A
48 7 35
extendWooCommerceCheckoutForm()
S
54 3 23
subscribeOnCheckout()
S
59 3 14
requireSubscriptionConfirmation()
S
61 3 13
isCurrentUserSubscribed()
S
61 3 12
getSubscriptionPresenceCheckField()
S
56 2 22
subscribe()
S
66 3 8
getSubscriptionField()
S
59 2 14
subscribeOnOrderPay()
S
66 2 8
updateSubscriberStatus()
S
65 2 9
__construct()
S
67 1 8